<template>
    <div>权限测试</div>
</template>

<script>
    export default {
        name: "Test",
        created() {
            this.test();
        },
        methods: {
            async test() {
                let {data:res} = await this.$http.get('/test')
                this.$message.error(res.meta.msg)
                console.log(res);
            }
        }
    }
</script>

<style scoped>

</style>